
package ch.hearc.coursJava.moo.heritage.base;

public class UseHmsTimes
	{

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	public static void main(String[] args)
		{
		main();
		}

	public static void main()
		{
		useHms();
		useHmsms();
		}

	private static void useHms()
		{
		HmsTimes hmsTimes = new HmsTimes(13, 31, 40);
		System.out.println(hmsTimes);
		hmsTimes.set(14, 32, 41);
		System.out.println(hmsTimes);
		}

	private static void useHmsms()
		{
		HmsmsTimes hmsmsTimes = new HmsmsTimes(13, 31, 40, 200);
		System.out.println(hmsmsTimes);
		hmsmsTimes.set(14, 32, 41, 201);
		System.out.println(hmsmsTimes);
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	}
